package com.regex.web.entity.community;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.regex.web.entity.StrIdBaseEntity;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.regex.web.common.excel.annotation.ExcelField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author lyc
 * @since 2021-03-04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_sign_up")
public class TSignUpDTO extends StrIdBaseEntity implements Cloneable {

    private static final long serialVersionUID = 1L;

  

    /**
     * 姓名
     */
    @TableField("name")
    @ExcelField(title="姓名",  align=2 , sort=2, dictType="")
    private String name;

    /**
     * 电话
     */
    @TableField("phone")
    @ExcelField(title="电话",  align=2 , sort=3, dictType="")
    private String phone;

    /**
     * 性别
     */
    @TableField("sex")
    @ExcelField(title="性别",  align=2 , sort=4, dictType="")
    private String sex;


    @Override
    protected Serializable pkVal() {
        return super.pkVal();
    }


private static TSignUpDTO tSignUpDTO = new TSignUpDTO();
    
    public static TSignUpDTO getInstance() {
        try {
            return (TSignUpDTO) tSignUpDTO.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return new TSignUpDTO();
    }

}
